package com.neuedu.spring.service;

import com.neuedu.spring.dao.IRoleDao;
import com.neuedu.spring.dao.RoleDao;

public class RoleService {

    IRoleDao roleDao;


    public void userDao(){
        System.out.println("角色的service 需要使用RoleDao");
        roleDao.sayHi();

    }


    public IRoleDao getRoleDao() {
        return roleDao;
    }

    public void setRoleDao(IRoleDao roleDao) {
        this.roleDao = roleDao;
    }
}
